package version1;
public class CashDispenser {

    private final static int INITIAL_BILL_COUNT = 200; 
    private final static int BILL_VALUE = 5;
    private int billCount;

    public CashDispenser() {
           billCount = INITIAL_BILL_COUNT;
    }

    public void DispenseCash(int amount) {
        billCount -= amount / BILL_VALUE;
    }

    public boolean IsCashAvailable(int amount) {
        return (billCount >= (amount / BILL_VALUE));
    }
}